package com.hbzhit.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * 系统配置信息
 *
 * @author Mark sunlightcs@gmail.com
 */
@Getter
@Setter
@TableName("sys_config")
public class SysConfigEntity {

	@ApiModelProperty("ID")
	@TableId
	private Long id;

	@ApiModelProperty("参数名")
	@NotBlank(message="参数名不能为空")
	private String paramKey;

	@ApiModelProperty("参数值")
	@NotBlank(message="参数值不能为空")
	private String paramValue;

	@ApiModelProperty("状态，0隐藏；1显示")
	private Integer status;

	@ApiModelProperty("系统预置")
	private Integer isSys;

	@ApiModelProperty("备注")
	private String remark;

}
